<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
            width: 300px;
            height: 200px;
            /* border-width:5px;
            border-style:dotted;
            border-color: brown; */
            /* border:10px solid red; */
            border:10px solid red;
            border-top:10px solid rgb(21, 255, 0);
            padding-left: 20px;
        }
    </style>
</head>

<body>
    <div>
        <table border="1">
            <tr>
                <td>1</td>
                <td>2</td>
            </tr>
        </table>
    </div>
</body>
</html>